home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt17.dir / 00023_Script_23 < prev    next >
Text File  |  1994-11-15  |  5KB  |  200 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 420
  6.   set prevLT = "FLWLT16"
  7.   set nextLT = "FLWLT18"
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltuso933000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 23 to TRUE
  21. end startMovie
  22.  
  23. on stepMovie
  24.   global nowFrame,currFrame
  25.   if nowFrame <> currFrame then
  26.     seeAlsoList
  27.     set currFrame = nowFrame
  28.   end if
  29. end stepMovie
  30.  
  31. on stopMovie
  32.   put " " into field "seeAlsoText"
  33.   set the castNum of sprite 21 to 1050
  34.   puppetSprite 21, FALSE
  35.   updateStage
  36. end stopMovie
  37.  
  38. on saveLocals
  39.   global lastFrame, nowFrame, lastMovie, origLocH
  40.   set lastMovie = the movie
  41.   set lastFrame = nowFrame
  42. end saveLocals
  43.  
  44. on ltForStep
  45.   global inFrame, nextLT, ltQT
  46.   puppetSprite 4, FALSE
  47.   set inFrame = ""
  48.   set ltQT = FALSE
  49.   if the frame = 14 then
  50.     go to frame "ltuso937001°°°" of movie nextLT
  51.   else
  52.     go to marker (+1)
  53.     updateStage
  54.   end if
  55. end ltForStep
  56.  
  57. on ltBackStep
  58.   global inFrame, prevLT, ltQT
  59.   puppetSprite 4, FALSE
  60.   set ltQT = FALSE
  61.   set inFrame = ""
  62.   if the frame < 5 then
  63.     
  64.     go to frame "ltuso930005°°°" of movie prevLT
  65.   else
  66.     go to marker (-1)
  67.     updateStage
  68.   end if
  69. end ltBackStep
  70.  
  71. on checkNav
  72.   if rollover(12) then
  73.     set the castNum of sprite 12 to the number of cast "leftUp"
  74.   else
  75.     set the castNum of sprite 12 to the number of cast "leftRt"
  76.   end if
  77.   
  78.   if rollover(11) then
  79.     set the castNum of sprite 11 to the number of cast "rightUp"
  80.   else
  81.     set the castNum of sprite 11 to the number of cast "rightRt"
  82.   end if
  83.   updateStage
  84.   cursor -1
  85. end checkNav
  86.  
  87. on buttonState
  88.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  89.   
  90.   if dialogOn = FALSE then
  91.     
  92.     --sticking local call here for convenience
  93.     worldLite
  94.     if the mouseV > 200 or bFlag = TRUE then
  95.       set bFlag = FALSE
  96.       doState
  97.     end if
  98.   end if
  99. end buttonState
  100.  
  101. on scrollRight
  102.   if the clickon = 11 then
  103.     sound stop 1
  104.     startTimer
  105.     repeat while the timer < 2
  106.       set the castNum of sprite 11 to the number of cast "rightDn"
  107.       updateStage
  108.     end repeat
  109.     timeRight
  110.     flush
  111.   end if   
  112. end scrollRight
  113.  
  114. on scrollLeft
  115.   if the clickon = 12 then
  116.     sound stop 1
  117.     startTimer
  118.     repeat while the timer < 2
  119.       set the castNum of sprite 12 to the number of cast "leftDn"
  120.       updateStage
  121.     end repeat
  122.     timeLeft
  123.     flush
  124.   end if  
  125. end scrollLeft
  126.  
  127. on timeLeft
  128.   global prevLt
  129.   go to movie prevLT
  130. end timeLeft
  131.  
  132. on timeRight
  133.   global nextLt
  134.   go to movie nextLT
  135. end timeRight
  136.  
  137. on worldLite
  138.   if rollover(9) then
  139.     set the castNum of sprite 9 to 22
  140.   else
  141.     set the castNum of sprite 9 to 2
  142.   end if
  143. end worldLite
  144.  
  145. on jumpVLB17
  146.   sound stop 1
  147.   if the clickOn < 7 or the clickOn > 23 then
  148.     if the mouseH > 168 and the mouseH < 302 and the mouseV > 75 and the mouseV < 145 then
  149.       puppetSprite 4, FALSE
  150.       go to frame "ltuso933001°°°"
  151.     else if the mouseH > 210 and the mouseH < 340 and the mouseV > 147 and the mouseV < 225 then
  152.       puppetSprite 4, FALSE
  153.       go to frame "ltuso933002°°°"
  154.     else if the mouseH > 327 and the mouseH < 401 and the mouseV > 91 and the mouseV < 170 then
  155.       puppetSprite 4, FALSE
  156.       go to frame "ltuso933003°°°"
  157.     else if the mouseH > 391 and the mouseH < 522 and the mouseV > 123 and the mouseV < 225 then
  158.       puppetSprite 4, FALSE
  159.       go to frame "ltuso933004°°°"
  160.     else if the mouseH > 512 and the mouseH < 618 and the mouseV > 75 and the mouseV < 180 then
  161.       puppetSprite 4, FALSE
  162.       go to frame "ltuso933005°°°"
  163.     else 
  164.       nothing
  165.     end if
  166.   end if
  167.   flush
  168. end jumpVLB17
  169.  
  170. on rollVLB17
  171.   if the mouseH > 168 and the mouseH < 302 and the mouseV > 75 and the mouseV < 145 then
  172.     set the castNum of sprite 4 to 6
  173.     if the mouseDown then 
  174.       set the castNum of sprite 4 to 3
  175.     end if
  176.   else if the mouseH > 210 and the mouseH < 340 and the mouseV > 147 and the mouseV < 225 then
  177.     set the castNum of sprite 4 to 7
  178.     if the mouseDown then 
  179.       set the castNum of sprite 4 to 3
  180.     end if
  181.   else if the mouseH > 327 and the mouseH < 401 and the mouseV > 91 and the mouseV < 170 then
  182.     set the castNum of sprite 4 to 8
  183.     if the mouseDown then 
  184.       set the castNum of sprite 4 to 3
  185.     end if
  186.   else if the mouseH > 391 and the mouseH < 522 and the mouseV > 123 and the mouseV < 225 then
  187.     set the castNum of sprite 4 to 9
  188.     if the mouseDown then 
  189.       set the castNum of sprite 4 to 3
  190.     end if
  191.   else if the mouseH > 512 and the mouseH < 618 and the mouseV > 75 and the mouseV < 180 then
  192.     set the castNum of sprite 4 to 10
  193.     if the mouseDown then 
  194.       set the castNum of sprite 4 to 3
  195.     end if
  196.   else 
  197.     set the castNum of sprite 4 to 3
  198.   end if
  199.   updateStage
  200. end rollVLB17